package net.j4love.spring.boot.webmvc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author He Peng
 * @create 2017-05-19 15:48
 * @update 2017-05-19 15:48
 * @see
 */


@ServletComponentScan(basePackages = "net.j4love.spring.boot.webmvc.web")
@ComponentScan(basePackageClasses = {MyWebMvcConfiguration.class},
               basePackages = "net.j4love.spring.boot.webmvc")
@EnableAutoConfiguration
public class SpringBootApplication {

    public static void main(String[] args) {

        SpringApplication.run(SpringBootApplication.class,args);
    }
}
